<?php
namespace app\admin\validate;

class Auth extends BaseValidate
{
    protected $rule = [
        'username' => 'require|isNotEmpty',
        'password' => 'require|isNotEmpty'
    ];

    protected $message = [
        'username.require' => '管理员名字必填',
        'username.isNotEmpty' => '管理员名字不能为空',
        'password.require' => '管理员密码必填',
        'password.isNotEmpty' => '管理员密码必填',
    ];
}